package com.qymerge.manage.core.utils.aliyun;

/**
 * 阿里云 服务 配置项
 * Created by qiuchen on 2016/1/7.
 */
public interface AliyunConfig {

    interface Amount {
        String accessKeyId = "LTAI7y40cQP8PmPq";
        String accessKeySecret = "3HiAwsRys0mrwel4HiXScU22473Ggh";
    }

    interface OSS {
        String serverUrl = "http://cdn.aliyuncs.com/";
    }

    enum Bucket {
        Picture("doctor-picture", "image/jpg", "http://oss-cn-shanghai.aliyuncs.com","http://file.zsmy.cn/"),
        File("doctor-file", "application/octet-stream", "http://oss-cn-shanghai.aliyuncs.com","http://file.zsmy.cn/");
        private String name;
        private String contentType;
        private String endpoint;
        private String alias;

        Bucket() {
        }

        Bucket(String name, String contentType, String endpoint,String alias) {
            this.name = name;
            this.contentType = contentType;
            this.endpoint = endpoint;
            this.alias = alias;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getContentType() {
            return contentType;
        }

        public void setContentType(String contentType) {
            this.contentType = contentType;
        }

        public String getEndpoint() {
            return endpoint;
        }

        public void setEndpoint(String endpoint) {
            this.endpoint = endpoint;
        }

        public String getAlias() {return alias;}

        public void setAlias(String alias) {this.alias = alias;}

    }


}